home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / gfx / x11 / twm_930531.lha / twm / icons.h < prev    next >
C/C++ Source or Header  |  1993-05-29  |  2KB  |  53 lines

  1. /*
  2.  * Copyright 1989 Massachusetts Institute of Technology
  3.  *
  4.  * Permission to use, copy, modify, and distribute this software and its
  5.  * documentation for any purpose and without fee is hereby granted, provided
  6.  * that the above copyright notice appear in all copies and that both that
  7.  * copyright notice and this permission notice appear in supporting
  8.  * documentation, and that the name of M.I.T. not be used in advertising
  9.  * or publicity pertaining to distribution of the software without specific,
  10.  * written prior permission.  M.I.T. makes no representations about the
  11.  * suitability of this software for any purpose.  It is provided "as is"
  12.  * without express or implied warranty.
  13.  *
  14.  * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  15.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
  16.  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  17.  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  18.  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
  19.  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  20.  */
  21.  
  22. /**********************************************************************
  23.  *
  24.  * $XConsortium: icons.h,v 1.4 89/07/18 17:16:24 jim Exp $
  25.  *
  26.  * Icon releated definitions
  27.  *
  28.  * 10-Apr-89 Tom LaStrange        Initial Version.
  29.  *
  30.  **********************************************************************/
  31.  
  32. #ifndef ICONS_H
  33. #define ICONS_H
  34.  
  35. typedef struct IconRegion
  36. {
  37.     struct IconRegion    *next;
  38.     int            x, y, w, h;
  39.     int            grav1, grav2;
  40.     int            stepx, stepy;    /* allocation granularity */
  41.     struct IconEntry    *entries;
  42. } IconRegion;
  43.  
  44. typedef struct IconEntry
  45. {
  46.     struct IconEntry    *next;
  47.     int            x, y, w, h;
  48.     TwmWindow        *twm_win;
  49.     short         used;
  50. }IconEntry;
  51.  
  52. #endif /* ICONS_H */
  53.